package com.common.entity;



import java.util.Date;

import com.sun.istack.internal.NotNull;

public class Admin implements Comparable<Admin> {
	
	@NotNull
	private int id;
	private String login;
	private String password;
	private Date lastConnexion;
	private String nom;
	private String prenom;
	

	public Admin(){
		
	}
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the login
	 */
	public String getLogin() {
		return login;
	}
	/**
	 * @param login the login to set
	 */
	public void setLogin(String login) {
		this.login = login;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	
	/**
	 * @return the nom
	 */
	public String getNom() {
		return nom;
	}
	/**
	 * @param nom the nom to set
	 */
	public void setNom(String nom) {
		this.nom = nom;
	}
	/**
	 * @return the prenom
	 */
	public String getPrenom() {
		return prenom;
	}
	/**
	 * @param prenom the prenom to set
	 */
	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}
	@Override
	public int compareTo(Admin arg0) {
		// TODO Auto-generated method stub
		return 0;
	}
	
	

	/**
	 * @return the lastConnexion
	 */
	public Date getLastConnexion() {
		return lastConnexion;
	}

	/**
	 * @param lastConnexion the lastConnexion to set
	 */
	public void setLastConnexion(Date lastConnexion) {
		this.lastConnexion = lastConnexion;
	}
}